package com.fdhwws.web.service;

import com.fdhwws.web.domain.User;
import com.fdhwws.web.entity.AjaxResult;

public interface UserService {
    User getUserById(Integer id);

    User login(String username, String password);

    AjaxResult register(User user);

    AjaxResult getAllUser();

    AjaxResult updateUser(User user);
}
